//
//  DDAlertView.h
//  ICBCSuisseCredit
//
//  Created by zhangjingle on 2017/4/13.
//  Copyright © 2017年 Victor. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface DDAlertView : UIView

/*!@brief ****  初始化 一个按钮  */
-(id)initWithTitle:(NSString *)title message:(NSString *)message btnName:(NSString *)btnName finished:(void(^)())onFinished;

/*!@brief ****  初始化 2个按钮 */
-(id)initCloseWithTitle:(NSString *)title close:(NSString *)close message:(NSString *)message leftName:(NSString *)leftName rightName:(NSString *)rightName clickLeft:(void(^)())clickLeft clickRight:(void(^)())clickRight;

/*!@brief ****  初始化 2个按钮 有密码输入框 */
-(id)initPasswordWithTitle:(NSString *)title leftName:(NSString *)leftName rightName:(NSString *)rightName clickLeft:(void(^)())clickLeft clickRight:(void(^)(NSString * password))clickRight;

/*!@brief ****  初始化 2个按钮 有描述输入框 */
-(id)initDescriptionWithTitle:(NSString *)title leftName:(NSString *)leftName rightName:(NSString *)rightName clickLeft:(void(^)())clickLeft clickRight:(void(^)(NSString * description))clickRight;

-(void)show;
- (void)showForView:(UIView *)view;


@end
